package org.jeecg.modules.meter.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;

/**
 * @Description: 仪表收费标准明细表
 * @Author: jeecg-boot
 * @Date:   2019-12-12
 * @Version: V1.0
 */
@Data
@TableName("meter_feeitem_sub")
public class MeterFeeItemSub implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.UUID)
	private String id;
	/**租户id*/
    @Excel(name = "租户id", width = 15)
	private Integer tenantId;
	/**meter_feeitem的id*/
	private String parentId;
	/**feeitemId*/
    @Excel(name = "feeitemId", width = 15)
	private String feeitemId;
	/**单价*/
    @Excel(name = "单价", width = 15)
	private String price;
	/**创建者*/
    @Excel(name = "创建者", width = 15)
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**更新者*/
    @Excel(name = "更新者", width = 15)
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**删除标志*/
    @Excel(name = "删除标志", width = 15)
	@TableLogic
	private String delFlag;
	/**备注信息*/
    @Excel(name = "备注信息", width = 15)
	private String remarks;

	@TableField(exist = false)
	private java.lang.String feeItemCode;
	@TableField(exist = false)
	private java.lang.String feeItemName;
	@TableField(exist = false)
	private MeterFeeItem meterFeeItem;
	@TableField(exist = false)
	private FeeItem feeItem;
}
